Package com.netscape.cms.servlet.common
Class GenErrorTemplateFiller
java.lang.Object
com.netscape.cms.servlet.common.GenErrorTemplateFiller
- All Implemented Interfaces:
ICMSTemplateFiller
Default error template filler
- Version:
- $Revision$, $Date$
-
Field Summary
FieldsFields inherited from interface com.netscape.cms.servlet.common.ICMSTemplateFiller
AUTHORITY, ERROR, ERROR_DESCR, EXCEPTION, HOST, KEYREC_ID, PORT, REQUEST_ID, REQUEST_STATUS, SCHEME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTemplateParams
(CMSRequest cmsReq, IAuthority authority, Locale locale, Exception e) fill error details and description if any.
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
GenErrorTemplateFiller
public GenErrorTemplateFiller()
-
-
Method Details
-
getTemplateParams
public CMSTemplateParams getTemplateParams(CMSRequest cmsReq, IAuthority authority, Locale locale, Exception e) fill error details and description if any.- Specified by:
getTemplateParams
in interfaceICMSTemplateFiller
- Parameters:
cmsReq
- the CMS Request.authority
- the authoritylocale
- the locale of template.e
- unexpected error. ignored.
-